package com.dower.clothing.domain;

import java.util.Date;

import com.dower.common.annotation.Excel;
import com.dower.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 商品分类对象 product_category
 * 
 * @author dower
 * @date 2020-08-26
 */
public class ProductCategory extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 分类编码 */
    @Excel(name = "分类编码")
    private String categoryCode;

    /** 分类级别 */
    private Long categoryLevel;

    /** 分类状态 */
    private Long categoryStatus;

    /** 修改时间 */
    private Date modifiedTime;

    /** 状态 */
    private Integer numState;

    /** 删除 */
    private Integer numIsDel;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategoryCode(String categoryCode) 
    {
        this.categoryCode = categoryCode;
    }

    public String getCategoryCode() 
    {
        return categoryCode;
    }
    public void setCategoryLevel(Long categoryLevel) 
    {
        this.categoryLevel = categoryLevel;
    }

    public Long getCategoryLevel() 
    {
        return categoryLevel;
    }
    public void setCategoryStatus(Long categoryStatus) 
    {
        this.categoryStatus = categoryStatus;
    }

    public Long getCategoryStatus() 
    {
        return categoryStatus;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }
    public void setNumState(Integer numState) 
    {
        this.numState = numState;
    }

    public Integer getNumState() 
    {
        return numState;
    }
    public void setNumIsDel(Integer numIsDel) 
    {
        this.numIsDel = numIsDel;
    }

    public Integer getNumIsDel() 
    {
        return numIsDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("categoryCode", getCategoryCode())
            .append("parentId", getParentId())
            .append("categoryLevel", getCategoryLevel())
            .append("categoryStatus", getCategoryStatus())
            .append("modifiedTime", getModifiedTime())
            .append("numState", getNumState())
            .append("numIsDel", getNumIsDel())
            .toString();
    }
}
